Deleting elements leaves undefined holes in an array.